package lc_2828_判别首字母缩略词;

import java.util.List;

public class Solution {
    public boolean isAcronym(List<String> words, String s) {
        if (s.length() != words.size()) {
            return false;
        }
        for (int i = 0; i < s.length(); i++) {
            if(s.charAt(i)!=words.get(i).charAt(0)){
                return false;
            }
        }
        return true;
    }

}